{template 'member', 'header'}
<div id="memberArea"> {template 'member', 'account_manage_left'}
  <div class="col-auto"> {pc:announce action="lists" num="1" siteid="$memberinfo[siteid]" cache="3600"}
    {loop $data $r}
    {php $announceid = $r[aid];}
    <div class="point" id='announcement' style="display:none"> <a href="javascript:hide_element('announcement');setcookie('announcement_{$memberinfo[userid]}_{$r[aid]}', 1);" hidefocus="true" class="close"><span>{L('close')}</span></a>
      <div class="content"> <strong class="title">{$r[title]}</strong>
        <p>{$r[content]}</p>
      </div>
      <span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span> </div>
    {/loop}
    {/pc}
    <div class="col-auto">
      <div class="col-1 member-info">
        <div class="content">
          <div class="col-auto">
            <h5>{if $memberinfo['vip']}<img src="{IMG_PATH}icon/vip.gif">{elseif $memberinfo['overduedate']}<img src="{IMG_PATH}icon/vip-expired.gif" title="{L('overdue')}，{L('overduedate')}：{format::date($memberinfo['overduedate'],1)}">{/if}
              {if $memberinfo['from']}<img src="{IMG_PATH}member/logo/{$memberinfo['from']}_16_16.png">{/if} <font color="{$grouplist[$memberinfo[groupid]]['usernamecolor']}"> {if $memberinfo['nickname']} {$memberinfo['nickname']} {else} {$memberinfo['username']}{/if} </font> {if $memberinfo['email']}（{$memberinfo['email']}）{/if} </h5>
          </div>
        </div>
        <span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span> </div>
      <div class="bk10"></div>
     
    </div>
  </div>
  <div class="clear"></div>
</div>
<script type="text/javascript" src="{JS_PATH}cookie.js"></script> 
<script language="JavaScript">
<!--
$(document).ready(function() {
	var announcement = getcookie('announcement_{$memberinfo[userid]}_{$announceid}');
	if(announcement==null || announcement=='') {
		$("#announcement").fadeIn("slow");
	}
});
//-->
</script> 
